#!/usr/bin/env python
# -*- coding:utf-8 -*-

import logging
import time
import os

## 每天需要跑的爬虫
## 极客公园
logging.error('spider geekpark runnning...')
os.system("scrapy crawl geekpark")
logging.error('spider geekpark over!')
time.sleep(3)
## 凤凰
logging.error('spider ifeng runnning...')
os.system("scrapy crawl ifeng")
logging.error('spider ifeng over!')
time.sleep(3)
## i黑马
logging.error('spider iheima runnning...')
os.system("scrapy crawl iheima")
logging.error('spider iheima over!')
time.sleep(3)
## techweb
logging.error('spider techweb runnning...')
os.system("scrapy crawl techweb")
logging.error('spider techweb over!')
time.sleep(3)
## 不凡商业
logging.error('spider bufanbiz runnning...')
os.system("scrapy crawl bufanbiz")
logging.error('spider bufanbiz over!')
time.sleep(3)
## 钛媒体
logging.error('spider tmtpost runnning...')
os.system("scrapy crawl tmtpost")
logging.error('spider tmtpost over!')
time.sleep(3)
## 头条
logging.error('spider toutiao runnning...')
os.system("scrapy crawl toutiao")
logging.error('spider toutiao over!')
time.sleep(3)
## 知乎
logging.error('spider zhihu runnning...')
os.system("scrapy crawl zhihu")
logging.error('spider geekpark zhihu!')
